import request from '@/utils/request.js'
const PATH = '/admin/postRemark'

// 分页查询帖子回复列表
export const getPostRemarkList = ({ page, pageSize, postId, userName }) => {
  return request.get(PATH + '/pageQuery', {
    params: {
      page,
      pageSize,
      postId,
      userName
    }
  })
}

// 删除帖子回复
export const batchDeletePostRemark = (ids) => {
  return request.delete(PATH + '/batchDelete', {
    params: {
      ids: ids.join(',')
    }
  })
}
